package com.dingyuhang.mapper;


import com.dingyuhang.bean.Forum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumMapper {

	/**
	 * 页面版块查询
	 * @return
	 */
	List<Forum> selectForums();

	int maxSortNo();

	void insertForum(Forum forum);

	Forum selectForumById(@Param("id")Integer id);

	void updateForum(Forum forum);

}
